package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖助学金情况对象 t_student_grant
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TStudentGrant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 资助类型 */
    @Excel(name = "资助类型")
    private String type;

    /** 年度 */
    @Excel(name = "年度")
    private String gYear;

    /** 总金额（万元） */
    @Excel(name = "总金额", readConverterExp = "万=元")
    private BigDecimal mony;

    /** 字数学生数量 */
    @Excel(name = "字数学生数量")
    private Long studentNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setgYear(String gYear) 
    {
        this.gYear = gYear;
    }

    public String getgYear() 
    {
        return gYear;
    }
    public void setMony(BigDecimal mony) 
    {
        this.mony = mony;
    }

    public BigDecimal getMony() 
    {
        return mony;
    }
    public void setStudentNum(Long studentNum) 
    {
        this.studentNum = studentNum;
    }

    public Long getStudentNum() 
    {
        return studentNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("gYear", getgYear())
            .append("mony", getMony())
            .append("studentNum", getStudentNum())
            .toString();
    }
}
